package Events;

import java.util.Hashtable;
import java.util.Map;


public class Alarm extends GenericEvent{
  /* {src_lang=Java}*/


  public Map<String, Object> params;

  	public Alarm()
  	{
  		params = new Hashtable<String, Object>();
    	params.put("Snooze", 1);
    	has = new Recurrence();
    	params.put("Ringtone", "");
    	type = 1;
  	}
    public Recurrence has;
    
	public Map<String, Object> getParams() {
		return params;
	}
	public void setParams(Map<String, Object> params) {
		this.params = params;
	}
	public Recurrence getRecurrence() {
		return has;
	}
	public void setRecurrence(Recurrence has) {
		this.has = has;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "I'm Alarm "+ description;
	}
    

}